Skip to main content

scrollbarLineDec

Type

message

Summary

Sent to a scrollbar when the user clicks the decrease arrow, scrolling backward one line.

Syntax

scrollbarLineDec <pNewPosition>

Description

Handle the scrollbarLineDec message if you want to respond to the use of the top or left scrollbar arrow.

Dragging the scrollbar thumb does not send a scrollbarLineDec message.

If the scrollbarLineDec message is not handled, a scrollbarDrag message is sent in addition.

Parameters

NameTypeDescription

pNewPosition

The new position of the scrollbar thumb.

Examples

on scrollbarLineDec newCharNumber
-- use a scrollbar to scroll through data, one character at a time
put char newCharNumber of field "Data" into field "Display"
end scrollbarLineDec

property: lineIncrement

glossary: handle, message

keyword: scrollbar, line

message: scrollbarDrag, scrollbarLineInc, scrollbarBeginning

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?